package cn.ronghuanet.auth.mapper;

import cn.ronghuanet.auth.domain.Permission;
import cn.ronghuanet.base.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yaosang
 * @since 2024-04-03
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    Permission queryBySn(String sn);

    List<Permission> queryTree();

    List<Permission> queryByIds(List<Long> permissionIds);
}
